<ion-view view-title="运费模板" class="logistics">
	<ion-nav-bar ng-class="baseclass">
		<ion-nav-back-button></ion-nav-back-button>
	</ion-nav-bar>
	
	<!--描述：滑动块-->
	<ion-content>
		<div class="head line-bottom" id="logistic-top">
			<i class="iconfont icon-jinlingyingcaiwangtubiao59 assertive"></i><span class="name">运费模板</span>
			<span class="add positive-bg" on-tap="doadd()"><i class="icon ion-plus"></i></span>
		</div>
		
		<ion-scroll direction="y" ng-style="logistic_myObj" lazy-scroll>
			<ion-refresher pulling-text="下拉刷新..." on-refresh="doRefresh()"></ion-refresher>
			<ion-list>
				<div class="item logis-modal">
					<div class="row">
						<div class="col col-40">运送方式</div>
						<div class="col col-20">状态</div>
						<div class="col col-40">操作</div>
					</div>
					<div class="row" ng-repeat="data in datas.freight">
						<div class="col col-40">{{data.name}}</div>
						<div class="col col-20">{{data.status}}</div>
						<div class="col col-40">
							<button class="button button-small button-positive" ng-show="!data.is_system" on-tap="doedit(data.id)">修改</button>
							<button class="button button-small button-assertive" ng-show="!data.is_system" on-tap="dodel(data.id)">删除</button>
						</div>
					</div>
				</div>
			</ion-list>
			
			<ion-infinite-scroll ng-if="!isLoad" immediate-check="false" on-infinite="doRefreshMore()" distance="1%"></ion-infinite-scroll>
		</ion-scroll>
	</ion-content>
</ion-view>